package org.lee.other.ser;

import java.io.Serializable;

/**
 * User
 *
 * @author dralee
 * @date 2022-02-18 13:56:08
 **/
public class User implements Serializable {
    private static final long serialVersionUID = -12341234123488L; // 增加
    private String name;
    private int id;
    private String address;
    private int sex;

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", id=" + id +
                ", address='" + address + '\'' +
                ", sex=" + sex +
                '}';
    }
}
